﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace JXC.Core.Models
{
    /// <summary>
    /// 入库单
    /// </summary>
    public class Inrd
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid Id { set; get; }//入库单号
        [ForeignKey("CommodityInformationSheetId")]
        public Guid ProductId { set; get; }//商品编码
        public decimal Price { set; get; }//单价
        public int Num { set; get; }//数量
        public decimal Totalv { set; get; }//总额

        public CommodityInformationSheet CommodityInformationSheet { get; set; }
    }
}
